package com.kingsoft.dc.khaos.module.spark.metadata.preprocess.transform

/**
  * Created by chengguangqing on 2019/6/10.
  */
case class FilterAndMapInfo(id: String = null,
                            name: String = null,
                            clazz: String = null,
                            engine: String = null,
                            clazz_type: String = null,
                            filter: String = null,
                            extract_fields: List[OptionInfo] = List()) {}

case class NewFilterAndMapInfo(filter: String = null,
                            extract_fields: List[OptionInfo] = List()) {}

//case class NewFilterAndMapInfo(id: String = null,
//                               name: String = null,
//                               clazz: String = null,
//                               engine: String = null,
//                               clazz_type: String = null,
//                               filter: String = null,
//                               extract_fields: List[OptionInfo] = List()) {}

case class OptionInfo(field: String = "",
                      data_type: String = "",
                      tag: String = "",
                      length: Option[String],
                      option: String = "")